﻿@model FlyingClub.Models.Plane

@{
    ViewBag.Title = "Suppression";
}

<h1>@ViewBag.Title</h1>

<h3>Êtes-vous sûr de vouloir le supprimer?</h3>
<table class="planes-tab">
    <tbody>
        <tr>
            <td>Nom</td>
            <td>Prix/H</td>
            <td>Identifiant</td>
        </tr>
        <tr>
            <td>@Html.DisplayFor(model => model.Name)</td>
            <td>@Html.DisplayFor(model => model.HourRate)</td>
            <td>@Html.DisplayFor(model => model.Number)</td>
        </tr>
    </tbody>
</table>

@using (Html.BeginForm()) {
    <p>
        <input type="submit" />
        <input type="submit" value="Supprimer" />
        <a href="/Planes#admin-planes">Retour à la liste</a>
    </p>
    <p class="break-line"></p>
}
